#include "mainwindow.h"
#include <QApplication>
#include <QPushButton>
#include <QDebug>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
//    MainWindow w;
//    w.show();

    QPushButton button("Quit");
    QObject::connect(&button,&QPushButton::clicked,
                     [](bool){
        qDebug() << "You cliecked me!";
    });
    button.show();

    return a.exec();
}
